16 May 19:31
HL problem - New List returns same ID 2x
From: Chip Scheide <4d_Only@...>
Subject: HL problem - New List returns same ID 2x
Newsgroups: gmane.comp.lang.inug-4d.tech
Date: 2008-05-16 17:34:46 GMT
Subject: HL problem - New List returns same ID 2x
Newsgroups: gmane.comp.lang.inug-4d.tech
Date: 2008-05-16 17:34:46 GMT
Ok situation - I have 4 HL areas, hl_Display1 -> hl_Display4 these are declared as longints on form load I use a generic routine to populate these HLs with records. I populate hl_Display1 with records during load of the form Selecting a list item loads selected item related records into hl_Display2 and so on through hl_Display4. What I am finding is that the command New List is returning the same list reference 2 times. (for example) - on load of the form I populate hl_Display1 (list ID 2) - I select an item from hl_Display1, which populates hl_Display2 (and gives it List ID 5) - I select an item from hl_Display2, whch populates hl_Display3 ( ** BUT ** the command new list returns the list ID 5) So now I have 2 list reference variables which have the same list reference (they shouldnt), of course now the entire interface is fubar. ----- Additionally I have noticed, is this correct behavior? Clear list (List_ref) -- leaves the list_ref longint value the same, and subsequent calls to New List fails to change this value. ********************************************************************** The 4D v11 SQL Roadshow - coming to a city near you!(Continue reading)
RSS Feed