473,657 Members | 2,517 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Source Object property with non dbo

Hello,

I am using an access 2000 project with sql srv 2000 as an
administrative tool to edit table data. I select the table names from
a combobox in an access form and use myform.SourceOb ject =
Table.dbo.mytab le
StoredProcedure .dbo.sp_xxx etc. wich gives me the error
message "The form name you entered doesn't follow Microsoft Access
object-naming rules".
As a connected user of sysadmins role there is no prefix "dbo." added,
so that the form is fine. But connecting as a user who is not member
of sysadmins makes it impossible for me to use the form with
sourceObject property! (;-<)

Has anybody an idea how to generate a workaround to this microsoft
bug?

thanks a lot in advance

Stephan
Nov 12 '05 #1
1 3852
On 9 Sep 2003 07:52:08 -0700 in comp.databases. ms-access,
sg*******@sekto r-n.de (Stephan Gehrlein) wrote:
Hello,

I am using an access 2000 project with sql srv 2000 as an
administrati ve tool to edit table data. I select the table names from
a combobox in an access form and use myform.SourceOb ject =
Table.dbo.myta ble
StoredProcedur e.dbo.sp_xxx etc. wich gives me the error
message "The form name you entered doesn't follow Microsoft Access
object-naming rules".
As a connected user of sysadmins role there is no prefix "dbo." added,
so that the form is fine. But connecting as a user who is not member
of sysadmins makes it impossible for me to use the form with
sourceObject property! (;-<)

Has anybody an idea how to generate a workaround to this microsoft
bug?


I don't think Access likes dots in object names.

I've not used ADPs but in SQL Server the dbo. bit is the owner of the
object, in this case the dbo (DataBase Owner). If Fred creates a
table it will be called "fred.tablename ". When accessing SQL Server
objects you need not specify the owner if fred specified "tablename"
then it will look for fred.tablename and if not found it will use
dbo.tablename.
--
A)bort, R)etry, I)nfluence with large hammer.
Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1305
by: Al | last post by:
hi , I am creating a form in asp.net and in the form, I crateed a couple of buttons, when I call a function I get the following error : Method 'Public Sub (function name) does not have the same signature as delegate ' Delegate Sub EventHandler(sender as object, e as system.eventArgs)' I figured out that I must put the following at my funcion sub calcualte_int(source as object, e as EventArgs) .. process
8
13244
by: dixie | last post by:
I have a report with a subreport. The source object for this subreport varies according to the value of a field in a table. I am trying to programmatically set the object source for the subreport as part of the detail format section of the report. I have been playing around with things like: Me.SubReport.SourceObject = Report.sub5O5L but nothing seems to work. Can I achieve what I want to do and if so, can anyone give me the...
2
9668
by: Lyn | last post by:
If I have a form where the RecordSource property is set to the name of a table, then on opening the SingleForm form I can cycle through all the records in the table one at a time via Next and Previous buttons on the form. However, I only want to cycle through a subset of the table. I have a parent form which inputs selection criteria. With the selection criteria I create a RecordSet (using ADO) in the parent form. The RecordSet object...
6
1208
by: Christoph Boget | last post by:
Consider the following: class MyClass { public string Var1; public string Var 2; } class MyClassList : System.Collections.CollectionBase { // requisite access methods }
0
12071
by: sonu | last post by:
I have following client side code which i have used in my asp.net project SummaryFeatured Resources from the IBM Business Values Solution Center WHITEPAPER : CRM Done Right Improve the likelihood of CRM success from less than 20 percent to 60 percent. WHITEPAPER :
8
12443
by: dkelly | last post by:
I wish to create a report with a chart, but I want to use a SQL statement as the source of the data, using VBA code in the reports load event I found the following snippet Dim objGraph As Object, objDS As Object, rsData As Recordset Set objGraph = Me!Graph1.Object Set objDS = objGraph.Application.DataSheet
1
1312
by: yeltsin27 | last post by:
I can see how to use a cookie, control property, form input value, profile, query string or session value as a parameter to a SQL Data Source. However I would like to use a property that is declared on the page (which as it happens is persised in VIEWSTATE). I know I could write the property to a control, but that's no different to writing the value to the ControlParameter, which is what I'm doing now.
2
3260
by: Orit | last post by:
Hello . Please find below my questions - I hope some of the ASP.NET experts of this forum will answer to those beginner's questions : My Web site should be able to work with either SQL Server or Access database as following : It will connect first to the Master database (SQL or Access, connection String of this database should be read from the C:\WINDOWS
3
1991
by: Fresno Bob | last post by:
When you bind to the object data source you can bind to the underlying dataset that is returned by the select statement but can you bind to the properties of the object? MSDN says the objectdatasource can return an object. Say for instance I have a customer object with a name property. Can I bind to it e.g. Text='<%# Bind("Name") %>'
2
1596
by: parez | last post by:
Hi I have business object data source. and its is bound to a 3rd party combo box which displays grids. I have a property SomeDate which i want to display in the header as "Some Date" or whatever. Is this possible? Can i add some attributes to my business object property to make it
0
8310
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7333
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6167
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2731
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1957
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1620
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.