Re: Add record on one form immediately show on another form when closed
- From: "Dan Rock" <danno492_NOSPAM@xxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 11:56:42 -0400
Never mind, I set the list source to the same table that the form is using
(instead of a query) and it works fine.
"Dan Rock" <danno492_NOSPAM@xxxxxxxxxxx> wrote in message
news:42c2bfdf$1@xxxxxxxxxxxxxxxxxxxxxxxxx
> Hi all,
> I have an issue that I cannot seem to find the answer to.
> I have a DBCombobox using an ADO query as it's list source.
> If the record (we'll say Vendor) is not in that list, the user double
> clicks on that list where a modal form appears and he/she enters the new
> vendor.
> However, after adding the new record, it is not available in the ComboBox
> until I exit the program and open it back up.
> Below is how I am trying to accomplish this.
> Can anyone direct me as to how to accomplish this need?
>
> var IntVendorID : integer;
>
> begin
> intVendorID := VendorID.EditValue;
> frmJobLogEntry.VendorID.EditValue := intVendorID;
> end;
>
.
- References:
- Prev by Date: Add record on one form immediately show on another form when closed
- Next by Date: Re: Update and insert in one sql statement in access error
- Previous by thread: Add record on one form immediately show on another form when closed
- Index(es):