Select Database Group ID
-
@Allister I think I figured out what I did wrong. The first time i ran it i didnt open the database so it could restart after opening the XML file. Then I ran the script for first time user etc and restarted the database. Im pretty sure somewhere in there I screwed something up for that profile.
I redownloaded your example and deleted the old database and reran it and it all worked this time around.
Thank you for all the help, im going to play around with this for the next few hours and if i run into trouble ill @ you
-
Oh yes, if you open a new project with a database you need to restart that certain Studio (when having multiple BAS Studio's running). ^_^ I forget that sometimes too. In-fact I spent 2 hours on a project debugging the sucker only to find out that was the cause of all my problems.
-
@Allister Haha that sounds annoying, last night I spent a few hours wondering why my database wasnt using both columns until i realized you need to add text to the description part of the column string
-
@andykaufseo I found an easier way
-
@cleez please share with us...
-
@andykaufseo Make a new function, inside that turn on http://wiki.bablosoft.com/doku.php?id=i_want_to_run_some_actions_on_start_one_time
inside of that you will use the "Create group" feature. That feature will create a group with an id with a variable called something like " new group id". Use the log feature and put in that new group id variable to capture that groups id.
Run it once and in the output on the bottom you will see the group id. From there copy and paste it into the "insert record" feature and you will be good to go.
-
Really appreciate it but damn, this is not what i had in mind - too complicated to select a group ID. i think someone who built BAS should answer this question - it should be a simple thing and the Group ID should be listed somewhere - it seems like a big design error of BAS to have things like this missing...
-
@andykaufseo I agree it is a design error imo but my suggestion is simple, after you get the id you can delete the create group stuff. Well its a temp solution until they make it simpler.
-
@andykaufseo I didn't read all thread, but here is answer for original question.
You can insert only to new group, which is created with Create Group action.
Create Group returns group id, which can be used later inside Insert Record action.There will be interface to search/edit/delete groups but later.