Hi,
I'm very new to Alpha and programming for that matter. Tried to get started two other times since 2005 but now it might stick as I am home quite a bit after a car accident.
I'm currently an IT manager and I do have some basic knowledge of VB, Powershel, MS Access and SQL.
I'm playing around with some data and following some of the videos I've seen but I've come across a stumbling block.
First of all I have two tables in SQL (express). Customer and Booking. Both tables have auto-increment Primary Key fields.
I have a UX with a List Control displaying the data from the Customer table. On the list control I have a button called "New Booking".
The goal of the New Booking button is to take the PrimaryKey from the selected row of the list control, add a new record to the Booking table with the Customer PrimaryKey and then return the new PrimaryKey from the Booking table.
Second goal is to open up a new UX for the new Booking with the Customer Name and allow the user to enter in the Date and Time of the booking.
I have created an AJAX Callback on the New Booking button and assumed that if I checked "Submit Data from List Controls" I would get the data from the selected record in JSON. That doesn't seem to be the case as I've used the Xbasic debugger and there is nothing in there.
Suggestions, help, guidance or a slap in the head would be greatly appreciated.
Thanks
Rob
I'm very new to Alpha and programming for that matter. Tried to get started two other times since 2005 but now it might stick as I am home quite a bit after a car accident.
I'm currently an IT manager and I do have some basic knowledge of VB, Powershel, MS Access and SQL.
I'm playing around with some data and following some of the videos I've seen but I've come across a stumbling block.
First of all I have two tables in SQL (express). Customer and Booking. Both tables have auto-increment Primary Key fields.
I have a UX with a List Control displaying the data from the Customer table. On the list control I have a button called "New Booking".
The goal of the New Booking button is to take the PrimaryKey from the selected row of the list control, add a new record to the Booking table with the Customer PrimaryKey and then return the new PrimaryKey from the Booking table.
Second goal is to open up a new UX for the new Booking with the Customer Name and allow the user to enter in the Date and Time of the booking.
I have created an AJAX Callback on the New Booking button and assumed that if I checked "Submit Data from List Controls" I would get the data from the selected record in JSON. That doesn't seem to be the case as I've used the Xbasic debugger and there is nothing in there.
Suggestions, help, guidance or a slap in the head would be greatly appreciated.
Thanks
Rob
Comment