Results 1 to 15 of 15

Thread: GridEditUpdate & def=

Threaded View

  1. #9
    Join Date
    Oct 2002
    Posts
    933
    Did you get the Boolean field edit with default values example. Seems like you have problems in this area. Below is the code. When you deal with a boolean field, you should use a checkbox and not a radio. This example is very good and I added that to the code gallery -

    Dim Ed As New Tornado.z
    With Ed
    .dbQP = "U=1|S=10|M=G!sys=t!Rowedit=t|D=NWIND|Q=Products|g df=0,1,2,discontinued|" _
    & "Bm=products;0|Ni=b5,Update,GridUpdate,Add,GridAdd |egu=t|ega=t|Th=Ti=Normal & Grid Edit"
    .dbEditAddFlds = "1, fi=Discontinued|Ty=CB|Def=t"
    .dbEditGridAddFlds = "1, 2, fi=Discontinued|Ty=CB|Def=f"
    .dbEditUpdateFlds = "fi=0|Ty=RONOUP, 1, fi=Discontinued|Ty=CB|Def=t"
    .dbEditGridUpdateFlds = "fi=0|Ty=RONOUP, fi=Discontinued|Ty=CB|Def=f"
    .ASPdbNET()
    End With
    Last edited by Frank; 08-10-2005 at 10:33 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •