POST
|
Alternatively, convert your raster to ASCII and edit the values in notepad. Steve
... View more
07-03-2013
10:00 PM
|
0
|
0
|
195
|
POST
|
Hi So what you have is a combobox with say...trees,shrubs,grasses and when select 'trees, the second combobox only loads up with tree species?? Mark Precisely. And before you ask the code is below. In this case item chosen from a dbf list linked to "cmbActn" will populate the combobox "cmbWrkMthd" sub SelectList 'sub to select specific entires from a dbf file for inclusion in dropdown menu on form, based on previous choice dim pLayer, pAction, pWorkMethod, filepath, GetPath set pLayer = Application.map.selectionLayer.Forms("EDITFORM") pAction = pLayer.Pages("PAGE3").Controls("cmbActn").value set pWorkMethod=pLayer.Pages("PAGE3").Controls("cmbWrkMthd") if pWorkMethod.ListCount > 0 then pWorkMethod.Clear end if GetPath = Left(application.map.selectionlayer.FilePath, InStrRev(application.map.selectionlayer.FilePath, "\")) if pAction <> "" then filePath = GetPath & "WorkMethod.dbf" pWorkMethod.AddItemsFromTable filePath, "Method", "Method", "[ACTION] = """& pAction & """" end if end sub 'SelectList and the dbf for the second combobox (in this case WorkMethod.dbf) must look like this: ACTION METHODTXT Weed Control Spray - Chemical Weed Control Spray - Rust Weed Control Hand Removal Weed Control Other (Please Type) Fencing Standard Fence Fencing Other (Please Type) Revegetation Reveg with Indigenous Vegetation Revegetation Other Reveg (Plse Type) hope that helps cheers Steve H
... View more
11-07-2010
05:29 PM
|
0
|
0
|
17
|
POST
|
Dashiell; you have to change the quickdraw setting to no display - i.e. the checkbox should be empty. Kind of unintuitive since the visibility box is unchecked but there you go. cheers Steve
... View more
08-19-2010
09:18 PM
|
0
|
0
|
27
|
POST
|
Thanks Eric that second script was just what I was looking for.:cool: Cheers Steve
... View more
08-16-2010
07:23 PM
|
0
|
0
|
14
|
POST
|
I have a custom form of several pages where users are continually entering data on the first page only and then exiting. Anyone know of a way of disabling the OK button until users reach the end of the form? thanks Steve
... View more
08-12-2010
06:35 PM
|
0
|
2
|
2305
|